package cn.jobstart.searchExt;

import cn.jobstart.model.Admin;
import cn.jobstart.search.AdminSearch;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * @author sunke
 * @Date 2023-09-06 15:00:20
 * @description AdminSearchExt      系统用户
 */
@Data
@Accessors(chain = true)
@ApiModel("系统用户AdminSearchExt")
public class AdminSearchExt extends AdminSearch<AdminSearchExt> {


    private String phoneEq;

    public static AdminSearchExt getInstance() {
        return new AdminSearchExt();
    }

    public AdminSearchExt setPhoneEq(String phoneEq) {
        this.phoneEq = phoneEq;
        setEqualField(Admin.PHONE, phoneEq);
        return this;
    }

    @Override
    public AdminSearchExt getSubThis() {
        return this;
    }

}

